package dev.alm.springaidemo.tool;

import org.springframework.ai.tool.annotation.Tool;

public class DateTimeTool {

    @Tool(description = "什么日期")
    public String getCurrentDateTime() {
        System.out.println("get current date time");
        return java.time.LocalDateTime.now().toString();
    }

}
